<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>网上商城</title>
		<link type="text/css" href="${ctx}/css/home.css" rel="stylesheet" />
		<script src="${ctx}/js/home.js" type="text/javascript"></script>
	</head>
	<body>
		<div class="page_wrapper">
			<div class="main">
				<jsp:include page="/common/header.jsp"></jsp:include>
				<div class="maincontent">
					<div class="mainbanner">
					</div>
					<div class="content">
						<c:if test="${shopCart.result!=null}">
							<table>
								<td>
									编号
								</td>
								<td>
									数量
								</td>
								<td>
									总价
								</td>
								<td>
									市场价
								</td>
								<td>
									会员价
								</td>
								<c:forEach items="${shopCart.result}" var="item">
									<tr>
										<td>
											${item.cartId}
										</td>
										<td>
											${item.num}
										</td>
										<td>
											${item.sumPrice}
										</td>
										<td>
											${item.tbGoodsInfo.marketPrice}
										</td>
										<td>
											${item.tbGoodsInfo.memberPrice}
										</td>
									</tr>
								</c:forEach>
							</table>
						</c:if>
						<div>
							<a href="#">清空</a>
							<a href="#">继续购物</a>
							<a href="${ctx}/shopcart/shopcart!goForCheckOut.action">结账</a>
						</div>
					</div>
				</div>
				<jsp:include page="/common/footer.jsp"></jsp:include>
			</div>
		</div>
	</body>
</html>
